//
//  allCommodityViewController.swift
//  liaoningdangdai
//
//  Created by 邵禹曦 on 2019/11/24.
//  Copyright © 2019 白雨桐. All rights reserved.
//

import UIKit

class allCommodityViewController: BaseViewController {

    @IBOutlet weak var username: UITextField!
    
    override func viewDidLoad() {
        super.viewDidLoad()

    }
    

    
    @IBAction func btnLogin(_ sender: UIButton) {
        /// data 数据 - 登陆
        let arr1 = ["shaoyuxi","lndd1601","","","phone","",""]
        /*
        NetworkTools.share.user_login(code: arr1) { (result, error) in
            if error != nil {
                print(error!)
                return
            }
            
            print(result!)
        }*/
        NetworkTools.share.user_logoff(session_id: "aaa", code: arr1) { (result, error) in
            if error != nil {
                print(error!)
                return
            }
            
            print(result!)
        }
    }
    
}
